package com.yzd.learnjava.iniialization;

public class SimpleConstructor2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		for(int i = 0; i < 10; i++){
			new Rock2(i);
		}
	}

}
class Rock2{
	public Rock2(int i) {
		System.out.print("Rock" + i + " ");
	}
}